<?php

//加载主题配置信息
$theme_config = include 'config_theme.php';
$theme = $theme_config['THEME_NAME'] ? $theme_config['THEME_NAME'] : $theme_config['DEFAULT_THEME'];
$theme_path = __ROOT__ . '/Public/' . MODULE_NAME . '/' . $theme;
return array(
    'LOG_RECORD' => true,
    'DEFAULT_THEME' => 'event',
    'THEME_NAME' => 'event',
    /* 模板相关配置 */
    'TMPL_PARSE_STRING' => array(
        '__STATIC__' => __ROOT__ . '/Public/Static',
        '__PUBLIC__' => __ROOT__ . '/Public/' . MODULE_NAME,
        '__UPLOAD__' => UPLOAD_URL,
        '__THEME__' => $theme_path,
        '__FONTS__' => $theme_path . '/font-awesome',
        '__IMG__' => $theme_path . '/img',
        '__CSS__' => $theme_path . '/css',
        '__JS__' => $theme_path . '/js',
        '__PLUGINS__' => $theme_path . '/plugins',
    ),
);
